import { encryptAES, decryptAES } from '@/utils/cryptojs'
export { encryptParams } from '@/utils/rsa'
import { registers } from '@/constant'

export const cncryptionCipher = (data) => {
  const encryptedString = encryptAES(data, registers)
  return encryptedString
}

export const decryptionCipher = (data) => {
  const decryptedString = decryptAES(data, registers)
  return decryptedString
}
